<ul class="p-list-con">
	<% if( data.list && data.list.length > 0){ %>
		<%  data.list.forEach(function(item,i){ %>
			<li class="p-item">
		        <div class="p-img-con"> <a class="link" href="./detail.html?productId=<%=item.id%>" target="_blank"> <img class="p-img" src="<%= item.imageHost+item.mainImage %>" alt="<%= item.name %>"> </a> </div>
		        <div class="p-price-con"> <span class="p-price">¥ <%= item.price %></span> </div>
		        <div class="p-name-con"> <a href="./detail.html?productId=<%=item.id%>" target="_blank" class="p-name" title="<%= item.nama%>"><%= item.name%> </a> </div>
	    	</li>
		<% }) %>

	<% } %>
</ul>

<span id="current"><%= data.pageNum %></span> / <span id="total"><%= data.total %></span>